import { IPSChartSeriesCustom } from './ipschart-series-custom';
import { PSDEChartSeriesImpl } from './psdechart-series-impl';

export class PSDEChartSeriesCustomImpl extends PSDEChartSeriesImpl implements IPSChartSeriesCustom {
  get cls(): string {
    return 'PSDEChartSeriesCustomImpl';
  }

  instanceof(cls: string): boolean {
    if (
      cls == 'IPSModelObject' ||
      cls == 'IPSObject' ||
      cls == 'control.IPSControlItem' ||
      cls == 'control.IPSControlItemNavigatable' ||
      cls == 'control.IPSControlObjectNavigatable' ||
      cls == 'control.IPSNavigatable' ||
      cls == 'control.IPSNavigateParamContainer' ||
      cls == 'control.chart.IPSChartSeries' ||
      cls == 'control.chart.IPSChartSeriesCustom'
    )
      return true;
    return super.instanceof(cls);
  }
}
